[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
        AH = 38h
  DOS 2.x
        AL = 0  get current-country info
        DS:DX = segment:offset of buffer for returned info
Return: BX = country code
        buffer at DS:DX filled as follows:
           bytes 0-1 = date format   0 = USA    mm dd yy
                                     1 = Europe dd mm yy
                                     2 = Japan  yy mm dd
           byte 2    = currency symbol
           byte 3    = 00h
           byte 4    = thousands separator char
           byte 5    = 00h
           byte 6    = decimal separator char
           byte 7    = 00h
           bytes 8-1Fh reserved

  DOS 3.x
        AL = 0 for current country
        AL = 01h thru 0FEh for specific country with code <255
        AL = 0FFh for specific country with code >= 255
           BX = 16-bit country code
        DS:DX = segment:offset of buffer for returned info
        DX = 0FFFFh if setting country code, rather than getting info
Return: (if DX <> 0FFFFh)
        BX = country code
        DS:DX filled in:
              bytes 0-1 = date format (see above)
              bytes 2-6 = currency symbol string, ASCIZ
              byte 7    = thousands seaprator char
              byte 8    = 00h
              byte 9    = decimal separator char
              byte 0Ah  = 00h
              byte 0Bh  = date separator char
              byte 0Ch  = 00h
              byte 0Dh  = time separator char
              byte 0Eh  = 00h
              byte 0Fh  = currency format
                           bit 1 = number of spaces between value and curr sym
                           bit 0 = 0 if currency symbol precedes value
                                   1 if currency symbol follows value
              byte 10h  = number of digits after decimal in currency
              byte 11h  = time format
                           bit 0 = 0 if 12-hour clock
                                   1 if 24-hour clock
              bytes 12h-15h = address of case map routine (FAR CALL)
              byte 16h  = data-list separator char
              byte 17h  = 00h
              bytes 18h-21h reserved
      If error:
        CF set
        AX = error code
-----------------------------------------------------------

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson